package org.itboys.baseobject.service;

import com.google.common.collect.Maps;
import org.itboys.baseobject.entity.City;
import org.itboys.baseobject.entity.DataDictionary;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 省市县镇街道业务层
 * @author weisky
 *
 */
@Service
public class DataDictionaryService extends BaseService<DataDictionary, Long>{

	private static final long serialVersionUID = 2259128860302609447L;

	@Resource(name = "baseMongoDS")
	private MongoDataSource ds;

	@Override
	protected MongoDataSource getMongoDataSource() {
		return ds;
	}

	@Override
	protected Class<DataDictionary> getEntityClass() {
		return DataDictionary.class;
	}
	

}
